-
Notifications
You must be signed in to change notification settings - Fork 87
chore(deps): update dependency netlify-cli to v21 #2908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
📊 Package size report No changes
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
6f50316
to
45f64c8
Compare
45f64c8
to
d640afa
Compare
serhalp
approved these changes
May 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^20.1.1
->^21.0.1
Release Notes
netlify/cli (netlify-cli)
v21.0.1
Compare Source
Bug Fixes
v21.0.0
Compare Source
⚠ BREAKING CHANGES
netlify-lambda
package (#7236)The netlify-lambda NPM package was deprecated in Feb 2023. If you are one of the few using this, see the migration guide.
⚠ Potentially breaking changes
run build before deploy (#7195)
The
deploy
command now runs the site's configuredbuild
command before deployment by default. Previously, this was achieved by passing the--build
flag. In other words,--build
is no longer needed.To opt into the previous default behavior, users can now specify
netlify deploy --no-build
.👉🏼 Why are we changing this?
This has long been one of the most common sources of confusion with the Netlify CLI. Developers expect a "deploy" command to deploy their project. We're making this change to follow the Principle of Least Surprise and streamline the experience for new users.
Upgrading
👉🏼 (most common) Build and deploy
Remove the
--build
flag:netlify deploy --build [...] # before
→
netlify deploy [...] # after
👉🏼 Separate build and deploy
Collapse into one command, if you can:
→
netlify deploy # after
Otherwise, add the
--no-build
flag:→
👉🏼 (rare) Deploy without build step
Add the
--no-build
flag:netlify deploy [...] # before (there was no `--build` here)
→
polish and improve deploy command output (#7250) (795a451)
If you were automatically looking for specific strings in the
netlify deploy
output, your scripts may stop working. See the above PR for details.Note that this is not recommended and such changes may not be considered breaking in the future. For stable output that conforms to semantic versioning, use
netlify deploy --json
.Features
netlify-lambda
package (#7236) (0d48c28)Bug Fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.